#ifndef POINTSTRUCT_H
#define POINTSTRUCT_H

#include <QObject>
#include <QMultiHash>

class PointStruct
{
public:
    PointStruct();


    int index() const;
    void setIndex(int index);

    int address() const;
    void setAddress(int address);

    int valueType() const;
    void setValueType(int valueType);

    int defaultValue() const;
    void setDefaultValue(int defaultValue);

    QString name() const;
    void setName(const QString &name);

    QString zoneName() const;
    void setZoneName(const QString &zoneName);

    QString deviceType() const;
    void setDeviceType(const QString &deviceType);

    QString funcType() const;
    void setFuncType(const QString &funcType);

    int deviceIndex() const;
    void setDeviceIndex(int deviceIndex);

    int max() const;
    void setMax(int max);

    int min() const;
    void setMin(int min);

    QList<int> intList() const;
    void setIntList(const QList<int> &intList);

    QMultiHash<QString, int> valueTable() const;
    void setValueTable(const QMultiHash<QString, int> &valueTable);

private:
    quint32 m_index;
    quint32 m_address;
    quint32 m_valueType;
    quint32 m_defaultValue;
    QString m_name;
    QString m_zoneName;
    QString m_deviceType;
    QString m_funcType;
    quint32 m_deviceIndex;
    quint32 m_max;
    quint32 m_min;
    QList<int> m_intList;
    QMultiHash<QString,int> m_valueTable;
};

#endif // POINTSTRUCT_H
